<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <title>Title</title>
    <link rel="stylesheet" href="./dist/css/swiper.min.css">
    <style>
        *{
            padding: 0;
            margin: 0;
        }
        .swiper-container{
            width: 300px;
            height: 146px;
        }
        ul{
            list-style: none;
        }
        .swiper-slide img{
            width: 100%;
            display: block;
        }
    </style>
</head>
<body>
<div class="swiper-container">
    <!--图片-->
    <ul class="swiper-wrapper">
        <li class="swiper-slide">
            <a href="javascript:;">
                <img src="./uploads/l1.jpg" alt="">
            </a>
        </li>
        <li  class="swiper-slide">
            <a href="javascript:;">
                <img src="./uploads/l2.jpg" alt="">
            </a>
        </li>
        <li  class="swiper-slide">
            <a href="javascript:;">
                <img src="./uploads/l3.jpg" alt="">
            </a>
        </li>
        <li  class="swiper-slide">
            <a href="javascript:;">
                <img src="./uploads/l4.jpg" alt="">
            </a>
        </li>
        <li  class="swiper-slide">
            <a href="javascript:;">
                <img src="./uploads/l5.jpg" alt="">
            </a>
        </li>
        <li  class="swiper-slide">
            <a href="javascript:;">
                <img src="./uploads/l6.jpg" alt="">
            </a>
        </li>
        <li  class="swiper-slide">
            <a href="javascript:;">
                <img src="./uploads/l7.jpg" alt="">
            </a>
        </li>
        <li  class="swiper-slide">
            <a href="javascript:;">
                <img src="./uploads/l8.jpg" alt="">
            </a>
        </li>
    </ul>
</div>
<script src="./dist/js/swiper.min.js"></script>
<script>
    /*var mySwiper = new Swiper ('.swiper-container',{
        autoplay: 2000,
        direction : 'vertical'
    });*/
    var mySwiper = new Swiper('.swiper-container',{
        effect : 'cube',
        cube: {
            slideShadows: true,
            shadow: true,
            shadowOffset: 100,
            shadowScale: 0.6
        }
    })
</script>
</body>
</html>